import scrapy
import lxml.etree as le
import urllib.request as ur

class MaomiSpider(scrapy.Spider):
    name = 'maomi'

    def __init__(self):
        self._base_url = 'https://www.69acp.com/'
    def start_requests(self):
        yield scrapy.Request(
            url='https://www.69acp.com/shipin/list-%E7%9F%AD%E8%A7%86%E9%A2%91-2.html',
            callback=self.parse_start)

    def parse_start(self,response):
        # href_s = le.HTML(response).xpath("//div[@class= 'text-list-html']//li/a/@href").extract()
        # html = le.HTML(response)

        print(response.xpath('//div[@class= "text-list-html"]//li/a/@href').extract())
